package com.elantra.base;

import org.apache.log4j.Logger;
import org.springframework.context.annotation.Bean;
public class BaseClass {
	
	protected Logger logger = Logger.getLogger(getClass());
	
	public void debug(String message) {
		logger.debug(message);
	}
	public void error(String message) {
		logger.error(message);
	}
	public void info(String message) {
		logger.info(message);
	}
	
	@Bean
	protected SystemManage systemManage(){
		return SystemManage.getInstance();
	}
}
